package day1019_4;

public class Y3 {
    public static void main(String[] args) {
        int  age=27;
        System.out.println(  18<=age  &&   age<=40 );

        String  beautilful="帅";//byte short int long   float double char  boolean
        double  money=30000;
        //                  条件1                 或者    条件2
        System.out.println( beautilful.equals("帅")  || money>=150000 );
    }
}
